package com.log.blog_backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.log.blog_backend.Dao.LoginDao;
import com.log.blog_backend.common.Result;
import com.log.blog_backend.entity.User;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface UserService extends IService<User> {
    Result noPwdLogin(String phone);

    String uploadAvatar(MultipartFile file, HttpServletRequest httpServletRequest);

    Result changePassword(String newPassword, HttpServletRequest httpServletRequest);
}
